package executor;

import java.util.concurrent.Callable;

/**
 * @author lwj
 * @date 2025-03-10
 * @vesion 1.0.0
 */
public class MyCallable implements Callable<String> {
    @Override
    public String call() throws Exception {
        // 模拟耗时操作
        Thread.sleep(10000);

        // 实现相关的一些数据
        System.out.println("好好学习");

        return "success";
    }
}
